package pojo;
/** 账户个人信息
        * */
public class User {
    private String cardid;//卡号
    private String cardPwd;//密码
    private String userName;//用户名
    private String call;//手机号
    private double account;//存款

    public User() {
    }

    public User(String cardid, String cardPwd, String userName, String call, double account) {
        this.cardid = cardid;
        this.cardPwd = cardPwd;
        this.userName = userName;
        this.call = call;
        this.account = account;
    }

    public User(String cardid, String cardPwd) {
        this.cardid = cardid;
        this.cardPwd = cardPwd;
    }

    public String getCardid() {
        return cardid;
    }

    public void setCardid(String cardid) {
        this.cardid = cardid;
    }

    public String getCardPwd() {
        return cardPwd;
    }

    public void setCardPwd(String cardPwd) {
        this.cardPwd = cardPwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCall() {
        return call;
    }

    public void setCall(String call) {
        this.call = call;
    }

    public double getAccount() {
        return account;
    }

    public void setAccount(double account) {
        this.account = account;
    }

    @Override
    public String toString() {
        return "User{" +
                "cardid='" + cardid + '\'' +
                ", cardPwd='" + cardPwd + '\'' +
                ", userName='" + userName + '\'' +
                ", call='" + call + '\'' +
                ", account=" + account +
                '}';
    }
}
